<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>绘制迁移路线</title>
    <link rel="stylesheet" href="<%=basePath%>statics/js/plug/arcgis/3.13/dijit/themes/tundra/tundra.css">
    <link rel="stylesheet" href="<%=basePath%>statics/js/plug/arcgis/3.13/esri/css/esri.css">
    <link rel="stylesheet" href="<%=basePath%>statics/js/plug/arcgis/3.13/kingtop/css/InfoWindow.css">
    <link rel="stylesheet" href="<%=basePath%>statics/css/common/arcgis-common.css">
    <script type="text/javascript">
        var paths = '${points}';
        var dialogId = '${dialogId}';
        var callBackFunctionName = '${callBackFunctionName}';
        var readOnly = ${readOnly};
        var name = '${name}';
        var unitName = '${unitName}';
        var placementAddress = '${placementAddress}';
        var type = '${type}';
    </script>
	<script type="text/javascript" src="<%=basePath%>statics/js/map/route.js"></script>
</head>
<body>
<div id="content" style="overflow: hidden; height: 100%">
    <div id="map" class="map" style="height: 100%;"></div>
    <div id="mapTools" class="map-tools"></div>
</div>
<div id="btn" style="display:none;">
    <div style="text-align: center;position: absolute;left:40%;bottom:0px;">
        <input id="paths" type="hidden">
        <input id="updatedBtn" type="button" value="更新">
        <input id="submitBtn" type="button" value="确定">
    </div>
</div>
</body>
</html>